package ooday02;

public class Teacher extends Person{
    double wages;

    public Teacher(String name, String address, int age, double wages) {
        super(name, address, age);
        this.wages = wages;
    }

    void tuition(){
        System.out.println(name+"正在讲课");
    }
}
